<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
	<style type="text/css">
		body{
			background-image:url(img/bb.jpg);
			background-repeat:repeat-x;
		}
	</style>
</head>

<body class="body">
	<%@ include file="include/main-top.jsp" %>
	<div class="container">
	  	<div class="row">
			<jsp:include page="include/left.jsp">
				<jsp:param value="contactnote" name="tag"/>
			</jsp:include>
		<div class="span9">

			<form class="form-horizontal" action="contact.jspx?m=afterupdatecontact&contactid=${contact.id}" method="post">

        <fieldset>

          <legend>编辑联系人信息</legend>
          <c:if test="${param.state == '10009' }">
			<div id="addemp" class="alert alert-info fade in" >
	            <a href="#" data-dismiss="alert" class="close">×</a>
	            <strong>恭喜您,编辑联系人信息成功!</strong>
	        </div>
		</c:if>

          <div class="control-group">

            <label class="control-label" for="input01" ">姓名</label>

            <div class="controls">

              <input type="text" class="span5" id="input01" x-webkit-speech="undefined" value="${contact.name}" name="name">

            </div>

          </div>

		   <div class="control-group">

            <label class="control-label" for="input01">公司</label>

            <div class="controls">

              <input type="text" class="span5" id="input01" x-webkit-speech="undefined" value="${contact.companyname}"  name="company">

            </div>

          </div>

		  <div class="line"></div>

		   <div class="control-group">

            <label class="control-label" for="input01">手机</label>

            <div class="controls">

              <input type="text" class="span5" id="input01" x-webkit-speech="undefined" value="${contact.mobile}"  name="mobile">

            </div>

          </div>

		   <div class="control-group">

            <label class="control-label" for="input01">固话</label>

            <div class="controls">

              <input type="text" class="span5" id="input01" x-webkit-speech="undefined" value="${contact.tel}"  name="tel">

            </div>

          </div>

		  <div class="control-group">

            <label class="control-label" for="input01">邮箱</label>

            <div class="controls">

              <input type="text" class="span5" id="input01" x-webkit-speech="undefined" value="${contact.email}"  name="email">

            </div>

          </div>

		   <div class="line"></div>

		  <div class="control-group">

            <label class="control-label" for="input01">地址</label>

            <div class="controls">

              <input type="text" class="span5" id="input01" x-webkit-speech="undefined" value="${contact.address}"  name="address">

            </div>

          </div>

		   <div class="line"></div>

		   <div class="control-group">

            <label class="control-label" for="input01">主页</label>

            <div class="controls">

              <input type="text" class="span5" id="input01"  value="${contact.website}"  name="website">

			  <p class="help-block">http://www.xxx.com</p>

            </div>

          </div>

		   <div class="control-group">

            <label class="control-label" for="input01">微博</label>

            <div class="controls">

				<select class="span2" style="float:left" name="weiboname">


					<option value="1">新浪微博</option>

					<option value="2">腾讯微博</option>

					<option value="3">Twitter</option>

				</select>

				<div class="input-prepend">

					<span class="add-on">@</span><input class="span2" id="prependedInput" size="16" type="text" x-webkit-speech="undefined" value="${contact.weibo}"  name="weibo">

                </div>
            </div>

          </div>

		   <div class="control-group">

            <label class="control-label" for="input01">简介</label>

            <div class="controls">

              <textarea class="span5" rows="6"   name="content">${contact.content}</textarea>

            </div>

          </div>

          <div class="form-actions">
            <button type="submit" class="btn btn-primary">保存</button>
			<a href="contact.jspx?m=contact&projectid=${ep.project.id}" class="btn">返回</a>
          </div>
        </fieldset>
      </form>          
	 </div>

		<div class="span3">

			

		</div>

	  </div>

	</div>

</body>

</html>